Optimal. Leaf size=71 \[ \frac{a^2 \log \left (a+b x^n\right )}{b^2 n (b c-a d)}-\frac{c^2 \log \left (c+d x^n\right )}{d^2 n (b c-a d)}+\frac{x^n}{b d n} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.20127, antiderivative size = 71, normalized size of antiderivative = 1., number of steps used = 3, number of rules used = 2, integrand size = 26, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.077 \[ \frac{a^2 \log \left (a+b x^n\right )}{b^2 n (b c-a d)}-\frac{c^2 \log \left (c+d x^n\right )}{d^2 n (b c-a d)}+\frac{x^n}{b d n} \]
Antiderivative was successfully verified.
[In] Int[x^(-1 + 3*n)/((a + b*x^n)*(c + d*x^n)),x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ - \frac{a^{2} \log{\left (a + b x^{n} \right )}}{b^{2} n \left (a d - b c\right )} + \frac{c^{2} \log{\left (c + d x^{n} \right )}}{d^{2} n \left (a d - b c\right )} + \frac{\int ^{x^{n}} \frac{1}{b}\, dx}{d n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate(x**(-1+3*n)/(a+b*x**n)/(c+d*x**n),x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.141041, size = 66, normalized size = 0.93 \[ \frac{a^2 d^2 \log \left (a+b x^n\right )+b \left (d x^n (b c-a d)-b c^2 \log \left (c+d x^n\right )\right )}{b^2 d^2 n (b c-a d)} \]
Antiderivative was successfully verified.
[In] Integrate[x^(-1 + 3*n)/((a + b*x^n)*(c + d*x^n)),x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.04, size = 78, normalized size = 1.1 \[{\frac{{{\rm e}^{n\ln \left ( x \right ) }}}{bdn}}+{\frac{{c}^{2}\ln \left ( c+d{{\rm e}^{n\ln \left ( x \right ) }} \right ) }{{d}^{2}n \left ( ad-bc \right ) }}-{\frac{{a}^{2}\ln \left ( a+b{{\rm e}^{n\ln \left ( x \right ) }} \right ) }{ \left ( ad-bc \right ){b}^{2}n}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int(x^(-1+3*n)/(a+b*x^n)/(c+d*x^n),x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 1.39822, size = 109, normalized size = 1.54 \[ \frac{a^{2} \log \left (\frac{b x^{n} + a}{b}\right )}{b^{3} c n - a b^{2} d n} - \frac{c^{2} \log \left (\frac{d x^{n} + c}{d}\right )}{b c d^{2} n - a d^{3} n} + \frac{x^{n}}{b d n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^(3*n - 1)/((b*x^n + a)*(d*x^n + c)),x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.242614, size = 100, normalized size = 1.41 \[ \frac{a^{2} d^{2} \log \left (b x^{n} + a\right ) - b^{2} c^{2} \log \left (d x^{n} + c\right ) +{\left (b^{2} c d - a b d^{2}\right )} x^{n}}{{\left (b^{3} c d^{2} - a b^{2} d^{3}\right )} n} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^(3*n - 1)/((b*x^n + a)*(d*x^n + c)),x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [F(-1)] time = 0., size = 0, normalized size = 0. \[ \text{Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x**(-1+3*n)/(a+b*x**n)/(c+d*x**n),x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [F] time = 0., size = 0, normalized size = 0. \[ \int \frac{x^{3 \, n - 1}}{{\left (b x^{n} + a\right )}{\left (d x^{n} + c\right )}}\,{d x} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate(x^(3*n - 1)/((b*x^n + a)*(d*x^n + c)),x, algorithm="giac")
[Out]